﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace VisionCloud.Core.Model.Ms
{
    [Table("MsAlgorithmParamTemplateItem")]
    public class MsAlgorithmParamTemplateItem : BaseEntity
    {
        [Key]
        public Guid AlgorithmParamItemGuid { get; set; }

        public Guid AlgorithmParamTemplateGuid { get; set; }
        public string ItemName { get; set; }
        public string ItemKey { get; set; }
        public string ItemValue { get; set; }
        public string ItemType { get; set; }
        public string ItemGroup { get; set; }
        public string MeasureType { get; set; }
        public string ItemGroupImagePath { get; set; }
        public string ItemValueRange { get; set; }

        [ForeignKey("AlgorithmParamTemplateGuid")]
        public virtual MsAlgorithmParamTemplate AlgorithmParamTemplate { get; set; }
    }
}